import request from '@/utils/request'

export function list(query) {
  return request({
    url: '/order/list',
    method: 'get',
    params: query
  })
}

export function refund(id) {
  return request({
    url: '/order/refund',
    method: 'get',
    params: {
      id: id
    }
  })
}
